package com.mind.system.domain;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mind.common.annotation.Excel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 检查结果(AjCheckResult)
 *
 * @author makejava
 * @since 2024-07-28 16:43:29
 */
@Data
@TableName("aj_check_result")
public class AjCheckResult implements Serializable {
    /**
     * 主键
     */
    @ExcelIgnore
    private Integer id;
    /**
     * 规则名称
     */
    @Excel(name = "规则名称")
    @ExcelProperty("规则名称")
    private String ruleName;
    /**
     * 单据ID
     */
    @Excel(name = "单据ID")
    @ExcelProperty("单据ID")
    private String ticketId;
    /**
     * 单据类型
     */
    @Excel(name = "单据类型")
    @ExcelProperty("单据类型")
    private String ticketType;
    /**
     * 规则Id
     */
    @Excel(name = "规则Id")
    @ExcelProperty("规则Id")
    private Integer ruleId;
    /**
     * 规则明细Id
     */
    @Excel(name = "规则明细Id")
    @ExcelProperty("规则明细Id")
    private Long ruleDetailId;
    /**
     * 规则说明
     */
    @Excel(name = "规则说明")
    @ExcelProperty("规则说明")
    private String ruleDesc;

    /**
     * 告警信息
     */
    @Excel(name = "告警信息")
    @ExcelProperty("告警信息")
    private String alert;
    /**
     * 小类名称
     */
    @Excel(name = "小类名称")
    @ExcelProperty("小类名称")
    private String businessCate;
    /**
     * 单据类型
     */
    @Excel(name = "单据类型")
    @ExcelProperty("单据类型")
    private String ajAttachType;
    /**
     * 状态 1通过 2不通过
     */
    @Excel(name = "状态 1通过 2不通过")
    @ExcelProperty("状态 1通过 2不通过 3系统自动通过 4不满足条件")
    private Integer status;
    /**
     * 人工处理
     */
    @ExcelIgnore
    private String handlerType;

    @Excel(name = "人工处理")
    @ExcelProperty("人工处理")
    private String realHandlerType;
    /**
     * 处理意见
     */
    @Excel(name = "处理意见")
    @ExcelProperty("处理意见")
    private String handlerContent;
    /**
     * 备注
     */
    @Excel(name = "备注")
    @ExcelProperty("备注")
    private String remark;

    /**
     * 版本
     */
    @Excel(name = "版本")
    @ExcelProperty("版本")
    private Integer version;
    /**
     * 关联数据
     */
    @Excel(name = "关联数据")
    @ExcelProperty("关联数据")
    @TableField(select = false)
    private String relatedData;

    /**
     * submit
     */
    @ExcelIgnore
    private Integer submit;
    /**
     * 创建时间
     */
    @ExcelIgnore
    private Date createTime;

    @TableField(value = "create_time",select  = false, condition = "%s >= #{%s}") // 自定义 age 字段的条件表达式
    private String startCreateTime;

    @TableField(value = "create_time", select = false, condition = "%s &lt;= #{%s}") // 自定义 age 字段的条件表达式
    private String endCreateTime;
    /**
     * 修改时间
     */
    @ExcelIgnore
    private Date updateTime;


    @ExcelIgnore
    @TableField(exist = false)
    private String verificationInfo;
    @Excel(name = "风险等级")
    @ExcelProperty("风险等级")
    @Schema(description = "风险等级")
    private Integer riskLevel;
    @Schema(description = "视图分组-列表值到数据字典view_group获取")
    private String viewGroup;
    private String ext1;
    private String ext2;
    private String ext3;
    private String ext4;
    private String ext5;
    private String ext6;
    private String ext7;
    private String ext8;
    private String ext9;
    private String ext10;


}

